 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>抽奖管理后台</title>

<style>
body{background:#F4F4FF; font-size:14px; margin:auto}
.divScroll{     OVERFLOW:auto;
        scrollbar-face-color: #FFFFFF;
        scrollbar-shadow-color: #D2E5F4;
        scrollbar-highlight-color: #D2E5F4;
        scrollbar-3dlight-color: #FFFFFF;
        scrollbar-darkshadow-color: #FFFFFF;
        scrollbar-track-color: #FFFFFF; 
      scrollbar-arrow-color: #D2E5F4;
	  }
</style>
<script type="text/javascript">
	function openwin(url)    
	{
		window.location=''+url+'';
	}
</script>
</head>

<body topmargin="0">

<table width="1000px" border="0" cellpadding="0" bgcolor="#F4F4FF">
  <tr>
    <td width="235" height="37">&nbsp;</td>
    <td width="759">&nbsp;</td>
  </tr>
  <tr>
    <td height="30">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="485" align="center" valign="top">
<?php require_once 'left.php';?>
    </td>
    <td valign="top" align="center">
	
<form action="addproduct" method="post" enctype="multipart/form-data" name="addproduct">
<table width="100%" border="0" >

<tr>
    <td>
    <h3>添加奖品</h3>
    </td>
    <td> <span style="color:red"><?php echo validation_errors(); ?></span></td>
  </tr>
  <tr>
    <td width="13%" height="31" align="left">奖品名称:</td>
    <td width="87%" align="left"><label>
      <input  name="productname" value="<?php echo set_value('productname'); ?>"/>
    (*)</label></td>
  </tr>
   <tr>
    <td width="13%" height="31" align="left">活动图片:</td>
    <td width="87%" align="left">
      <input type="file" name="img" id="fileField" />       </td>
  </tr>
     <tr>
    <td width="13%" height="31" align="left">奖品类型:</td>
    <td width="87%" align="left">
   
      <select name="ptype" id="select">
      <option value="1">实物</option>
      <option value="2">点卡</option>
      <option value="3">金币</option>
      </select>            </td>
  </tr>
  <tr>
    <td width="13%" height="31" align="left">金额:</td>
    <td width="87%" align="left"><label>
      <input  name="pprice" value="<?php echo set_value('pprice'); ?>"/>
    (*)</label></td>
  </tr>
<!--  <div style="display:none" id="ticketcode">
    <tr >
    <td width="13%" height="31" align="left">卡号:</td>
    <td width="87%" align="left">
      <input  name="ticketcode" value="<?php echo set_value('ticketcode'); ?>"/>
    (*)</td>
  </tr>
  </div>-->
  <tr>
    <td height="44" align="left">详情：</td>
    <td align="left">
    <textarea name="content" cols="40" rows="10" id="textarea"></textarea>   </td>
  </tr>


    <tr>
    <td height="44">&nbsp;</td>
    <td align="left">
      <input type="submit" name="Submit" value="提交" />    </td>
  </tr>
</table>
</form>

    
    </td>
  </tr>
</table>
</body>
</html>
